﻿using System;
using NUnit.Framework;

namespace Tamias.UnitTests
{
    public static class TestExtensions
    {
        public static void IsEqualTo(this object actual, object expected, string message)
        {
            Assert.AreEqual(expected, actual, message);
        }

        public static void IsGreaterThan(this int actual, int expected, string message)
        {
            Assert.Greater(actual, expected, message);
        }

        public static void IsNotNullEmptyOrWhitespace(this string value, string message)
        {
            Assert.IsFalse(String.IsNullOrWhiteSpace(value), message);
        }
    }
}
